package com.lyf.boot.modules.system.entity.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.lyf.boot.core.model.BasePageDto;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author Luyufan
 * @date 2023/7/7 9:33
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysUserPageDto extends BasePageDto implements Serializable {

    @Serial
    private static final long serialVersionUID = -1480995074798911372L;

    /**
     * 账号
     */
    private String username;

    /**
     * 电话号码
     */
    private String phoneNumber;

    /**
     * 姓名
     */
    private String realName;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 性别
     */
    private String gender;

    /**
     * 部门id
     */
    private Long deptId;

    @JsonIgnore
    private List<Long> deptIds;
}
